package com.youzhi.backend.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.FieldNameConstants;

@ApiModel("分页对象")
@FieldNameConstants
public class PageRequest {

    /**
     * 分页大小
     */
    @ApiModelProperty("分页大小")
    protected Integer size;

    /**
     * 页码 从1开始
     */
    @ApiModelProperty("页码")
    protected Integer current;


    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }
}
